package com.zzh.lib.views.banner;


import android.widget.LinearLayout;

/**
 * Created by ZZH on 2022/7/29.
 *
 * @Date: 2022/7/29
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class IndicatorOptions {

    public int orientation = LinearLayout.HORIZONTAL;
    public int indicatorStyle = 0;
    public int slideMode = 0;
    public int pageSize = 0;
    public int normalSliderColor = 0;
    public int checkedSliderColor = 0;
    public int currentPosition = 0;
    public float sliderGap = 0f;
    public float sliderHeight = 0f;
    public float normalSliderWidth = 0f;
    public float checkedSliderWidth = 0f;
    public float slideProgress = 0f;
    public boolean showIndicatorOneItem = false;


    public void setSliderWidth(float normalIndicatorWidth, float checkedIndicatorWidth) {
        this.normalSliderWidth = normalIndicatorWidth;
        this.checkedSliderWidth = checkedIndicatorWidth;
    }

    public void setSliderWidth(float sliderWidth) {
        setSliderWidth(sliderWidth, sliderWidth);
    }

    public void setSliderColor(
            int normalColor,
            int checkedColor
    ) {
        this.normalSliderColor = normalColor;
        this.checkedSliderColor = checkedColor;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setOrientation(int orientation) {
        this.orientation = orientation;
    }

    public void setIndicatorStyle(int indicatorStyle) {
        this.indicatorStyle = indicatorStyle;
    }

    public void setSlideMode(int slideMode) {
        this.slideMode = slideMode;
    }

    public void setCheckedColor(int checkedColor) {
        this.checkedSliderColor = checkedColor;
    }

    public void setNormalSliderColor(int normalSliderColor) {
        this.normalSliderColor = normalSliderColor;
    }

    public void setCheckedSliderColor(int checkedSliderColor) {
        this.checkedSliderColor = checkedSliderColor;
    }

    public void setCurrentPosition(int currentPosition) {
        this.currentPosition = currentPosition;
    }

    public void setSliderGap(float sliderGap) {
        this.sliderGap = sliderGap;
    }

    public void setSliderHeight(float sliderHeight) {
        this.sliderHeight = sliderHeight;
    }

    public void setNormalSliderWidth(float normalSliderWidth) {
        this.normalSliderWidth = normalSliderWidth;
    }

    public void setCheckedSliderWidth(float checkedSliderWidth) {
        this.checkedSliderWidth = checkedSliderWidth;
    }

    public void setSlideProgress(float slideProgress) {
        this.slideProgress = slideProgress;
    }

    public void setShowIndicatorOneItem(boolean showIndicatorOneItem) {
        this.showIndicatorOneItem = showIndicatorOneItem;
    }

    public int getOrientation() {
        return orientation;
    }

    public int getIndicatorStyle() {
        return indicatorStyle;
    }

    public int getSlideMode() {
        return slideMode;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getNormalSliderColor() {
        return normalSliderColor;
    }

    public int getCheckedSliderColor() {
        return checkedSliderColor;
    }

    public int getCurrentPosition() {
        return currentPosition;
    }

    public float getSliderGap() {
        return sliderGap;
    }

    public float getSliderHeight() {
        return sliderHeight;
    }

    public float getNormalSliderWidth() {
        return normalSliderWidth;
    }

    public float getCheckedSliderWidth() {
        return checkedSliderWidth;
    }

    public float getSlideProgress() {
        return slideProgress;
    }

    public boolean isShowIndicatorOneItem() {
        return showIndicatorOneItem;
    }
}
